package com.rimi.lzhg.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
public class Order implements Serializable {
    private Integer id;

    private Integer userId;

    private Integer type;

    private Date createTime;

    private Integer isCancel;

    private List<Menu> menuList;

    private List<OrderData> orders;

    public Order(Integer userId) {
        this.userId = userId;
    }

    private static final long serialVersionUID = 1L;


}